from django.db import models
import time
#python manage.py makemigratios
#python manage.py migrate
# Create your models here.
class staff ( models.Model ) :
    id = models.AutoField('ID',primary_key=True)
    name = models.CharField(max_length=50,null=True)
    zhiwei = models.CharField(max_length=50,null=True)
    bumen = models.CharField(max_length=50,null=True)
    localtime = time.strftime( "%Y%m%d%H%M%S" , time.localtime() )
    ctime= models.CharField(max_length=49,null=True,default=localtime)
    def __unicode__(self):
        return self.name